package top.yudoge.dogeeditor

import org.mybatis.spring.annotation.MapperScan
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.context.properties.EnableConfigurationProperties
import org.springframework.boot.runApplication
import org.springframework.scheduling.annotation.EnableScheduling
import top.yudoge.dogeeditor.config.DataSourcesProperties
import top.yudoge.dogeeditor.llm.config.LargeLanguageModelsProperties


@SpringBootApplication
@MapperScan(basePackages = ["top.yudoge.dogeeditor.mapper"])
@EnableScheduling
@EnableConfigurationProperties(DataSourcesProperties::class, LargeLanguageModelsProperties::class)
class DeApplication

fun main(args: Array<String>) {
    runApplication<DeApplication>(*args)
}
